if player:haveTarget() == true then
Do something
End